package com.baba.client.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.Date;
import java.io.Serializable;

/**
 * (ClientUser)实体类
 *
 * @author zengyujun
 * @since 2020-06-13 10:34:07
 */
@Data
public class ClientUser implements Serializable {
//    private static final long serialVersionUID = 754916540237752891L;
    @Id
    @ApiModelProperty(value = "用户ID(主键 ) 非必填", name = "userId", dataType = "Integer")
    private int userId;
    @ApiModelProperty(value = "用户姓名", name = "userName", dataType = "String")
    private String userName;
    @ApiModelProperty(value = "用户密码", name = "userPassword", dataType = "String")
    private String userPassword;
    @ApiModelProperty(value = "用户头像", name = "userPhotoUrl", dataType = "String")
    private String userPhotoUrl;
    @ApiModelProperty(value = "用户权限等级(1-5) 1为管理员", name = "userGrade", dataType = "Integer")
    private Integer userGrade;
    @ApiModelProperty(value = "部门", name = "userDep", dataType = "String")
    private String userDep;
    @ApiModelProperty(value = "创建时间 非必填", name = "creationTime", dataType = "Date")
    private Date creationTime;
    @ApiModelProperty(value = "手机号码", name = "userPhone", dataType = "String")
    private String userPhone;
    @ApiModelProperty(value = "性别(0:男,1:女)", name = "userSex", dataType = "Integer")
    private Integer userSex;
}